package com.woollen.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("Member")
public class Member implements Serializable {
    @TableId(value = "MBID", type = IdType.AUTO)
    private Integer mbid;           // 主键
    private String name;         // 用户名
    private String phone;
    private String email;
    private String password;     // 密码
    private String role;
    private Integer status;      // 状态
    private Date createTime;     // 创建时间
    private Date updateTime;     // 更新时间

    public Integer getMbid() { return mbid; }
    public void setMbid(Integer mbid) { this.mbid = mbid; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public String getEmail() { return email; }
    public void setEmail(String email) { this.email = email; }
    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
    public Date getUpdateTime() { return updateTime; }
    public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
    public String getRole() { return role; }
    public void setRole(String role) { this.role = role; }
} 